import { defineStore } from "pinia";
import { login, getstatus } from '../api/login'

export let useloginstore = defineStore({
    id: 'login',
    state: () => ({
        token: '',
        cont: -1,
        userinfo: {
            nickName: ''
        },
        mphone: '',
        code: '',
        password: '',
        routel: ''
    }),
})